package cn.plushine.service;

import cn.plushine.pojo.User;

import java.util.HashMap;

public interface IndexService {

    // 用户登录
    User login(String username, String password) throws Exception;

    // 获取用户信息
    User info(int id) throws Exception;

}
